<div class="row">
  <div class="col-sm-8 col-sm-offset-2">
    <div style="display: flex;margin-bottom: 10px;">
      <label for="siteCode" style="line-height: 29px;">站点：</label>
      <select id="siteCode" class="form-control"  [(ngModel)]="siteCode" style="flex: 1;margin-left: 10px;" (change)="getDeviceData()">
        <option [value]="siteObj.SITECODE" *ngFor="let siteObj of siteArr">{{siteObj.SITENAME}}</option>
      </select>
    </div>
    <!--<div style="display: flex;margin-bottom: 10px;">-->
      <!--<label for="deviceCode" style="line-height: 29px;">设备：</label>-->
      <!--<select id="deviceCode" class="form-control"  [(ngModel)]="deviceCode" style="flex: 1;margin-left: 10px;">-->
        <!--<option [value]="deviceObj.SNCODE" *ngFor="let deviceObj of deviceArr">{{deviceObj.SNCODE}}</option>-->
      <!--</select>-->
    <!--</div>-->
    <div id="myId" class="dropzone" style="min-height: 300px"></div>
    <div class="pull-right">
      <!--<button class="btn btn-default" (click)="cancelSubmit()">取消</button>-->
      <button class="btn btn-success" (click)="submit()" [disabled]="!siteCode || !deviceCode">提交</button>
    </div>
  </div>
</div>
